package org.NooLab.glue.msgframe;

import java.io.Serializable;

public class Notification implements Serializable{
	
	transient private static final long serialVersionUID = -4296282094583107325L;

	long   notificationID = -1;
	long   resultsOfTransactionID = -1;
	String filename="" ;
	String role="" ;
	String systemMsg = "";
	long   lastEventTime = 0;
	
	
	boolean notificationProcessRunning = false;
	boolean activelyInforming = false;
	int polling = -1;
	
	long    issuerInstanceID=-1;
	boolean byPassProcess = false;
	
	public Notification(){
		
	}


	
	public boolean getNotificationProcessRunning(){
		return notificationProcessRunning ;
	}
	
	public void setNotificationProcessRunning( boolean flag){
		notificationProcessRunning = flag;
	}
	
	// ------------------------------------------------------------------------
	
	public long getNotificationID() {
		return notificationID;
	}


	public void setNotificationID(long notificationID) {
		this.notificationID = notificationID;
	}


	public long getResultsOfTransactionID() {
		return resultsOfTransactionID;
	}

	public void setResultsOfTransactionID(long resultsOfTransactionID) {
		this.resultsOfTransactionID = resultsOfTransactionID;
	}

	/** the issuerInstanceID is the instanceID of the SOURCE that issues the transaction  */
	public long getIssuerInstanceID() {
		return issuerInstanceID;
	}

	/** the issuerInstanceID is the instanceID of the SOURCE that issues the transaction  */
	public void setIssuerInstanceID(long issuerInstanceID) {
		this.issuerInstanceID = issuerInstanceID;
	}



	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public String getRole() {
		return role;
	}


	public void setRole(String role) {
		this.role = role;
	}


	public long getLastEventTime() {
		return lastEventTime;
	}

	public void setLastEventTime(long lastEventTime) {
		this.lastEventTime = lastEventTime;
	}


	public boolean isActivelyInforming() {
		return activelyInforming;
	}


	public void setActivelyInforming(boolean activelyInforming) {
		this.activelyInforming = activelyInforming;
	}


	public String getSystemMsg() {
		return systemMsg;
	}



	public void setSystemMsg(String systemMsg) {
		this.systemMsg = systemMsg;
	}

	public boolean getByPassProcess() {
		return byPassProcess;
	}
	public boolean isByPassProcess() {
		return byPassProcess;
	}

	public void setByPassProcess( boolean byPassProcess ) {
		this.byPassProcess = byPassProcess;
	}



	public int getPolling() {
		return polling;
	}


	public void setPolling(int polling) {
		this.polling = polling;
	}
	
	
	
}
